<?php
	require_once("../../../oh.framework/oh.framework.php");

	//oh()->info();
	
	
	
	oh(page)->menu("home=>?page=1,content=>?page=2");	
	
	oh(page)->show();
	
	
	
	
	oh(simpleform)
	->open("registrazione")
	->label("Nome")->br()->text("nome")->sep()
	->label("Cognome")->br()->text("cognome")->sep()
	->label("Eta")->br()->text("eta")->sep()
	->label("Citta")->br()->text("citta")->sep()
	->label("Email")->br()->text("email")->sep()
	->label("Quartiere")->br()->text("quartiere")->sep()
	->submit("AAA")
	->close();
	
	
	
	
/*
    //oh(debug)->error_reporting(E_ALL);
    
    oh(config)->from_string("db.name=rapidapp");
    oh(model)->new_class("cavallo");
    oh(model)->new_object("cavallo")->name("donato");

	oh(model)->get_object("name=donato");
        
    oh(page)->menu(array(
        "home"=>"?p=home",
        "post"=>"?p=post",
    ))->show();
        
    function page_content() {
        oh(page)->header_title("ciao");
        oh(page)->content_title("ciao");
        oh(model)->info();
    }
    
    function page_sidebar() {    
    }
    
   */
   
   
   
?>
